package com.sibu.yx.promotion.admin.web.support.filter;

import lombok.Data;
import lombok.ToString;
import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author     ：yuwenbo
 * @date       ：Created in 2019/4/18 17:57
 * @description：
 */
@Data
@ToString
public class UidToken implements AuthenticationToken {

    private String uid;

    private String token;


    @Override
    public Object getPrincipal() {
        return uid;
    }

    @Override
    public Object getCredentials() {
        return token;
    }

    public UidToken() {
        super();
    }


}
